<div>
	<div class="r-form-wrap reg-body">
		<div class="r-form-group">
			<div class="r-form-control">
				<i class="iconfont r-form-item-icon">&#xe627;</i>
				<input type="text" class="r-form-item" placeholder="请输入手机号" ng-change="checkPhone();" ng-model="user.phoneNum">
			</div>
			<p class="r-form-error mg-m-t" ng-show="error.phone.flag" ng-hide="!error.phone.flag" ng-bind="error.phone.msg"></p>
		</div>
		<div class="r-form-group mg-b-t">
			<div class="r-form-control">
				<i class="iconfont r-form-item-icon">&#xe680;</i>
				<input type="text" onfocus="this.type='password'" class="r-form-item" placeholder="请输入密码" ng-change="checkPwd();" ng-model="user.pwd">
			</div>
			<p class="r-form-error mg-m-t" ng-show="error.pwd.flag" ng-hide="!error.pwd.flag" ng-bind="error.pwd.msg"></p>
		</div>
		<div class="r-form-group mg-b-t">
			<div class="r-form-control">
				<i class="iconfont r-form-item-icon">&#xe63b;</i>
				<input type="text" onfocus="this.type='password'" class="r-form-item" placeholder="请确认密码" ng-change="checkSubmitPwd();" ng-model="user.spwd">
			</div>
			<p class="r-form-error mg-m-t" ng-show="error.spwd.flag" ng-hide="!error.spwd.flag" ng-bind="error.spwd.msg"></p>
		</div>
	
		<div class="r-form-group r-form-group-row mg-b-t">
			<div class="r-form-control mg-b-r r-layout-match">
				<i class="iconfont r-form-item-icon">&#xe62f;</i>
				<input type="vcode" class="r-form-item r-form-vcode" ng-model="user.vcode" placeholder="验证码">
			</div>
			<span class="r-button r-button-get-vcode" ng-click="sendVCode();">获取验证码</span>
		</div>
		<p class="r-form-group r-form-error mg-m-t" ng-show="error.code.flag" ng-hide="!error.spwd.flag" ng-bind="error.code.msg"></p>
		<p class="r-button mg-b-t" 
			ng-class="{'r-button-submit':!error.phone.flag && !error.pwd.flag && !error.spwd.flag, 
			'r-button-disabled':error.phone.flag || error.pwd.flag || error.spwd.flag}" 
			ng-click="reg();">确定</p>
	</div>
	<div>
		<a ui-sref="access.reg.email" class="txt-sz-5">使用邮箱注册</a>
	</div>
</div>